Skip to main content

Subcomponents API

The PhoneInput component consists of four main parts:

  • Input component
  • CountrySelector component
  • CountrySelectorDropdown component
  • DialCodePreview component

InputComponent is a base HTML input

You can reuse CountrySelector, CountrySelectorDropdown, and DialCodePreview to build your own fully custom component.